(function(){var m,aa=function(a){var b=0;return function(){return b>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(f||"")+"_"+d++,f)};return e}); v("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c=f}}); var Ba=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&cb.size)return!1;for(var c=this.keys(),d=c.next();!d.done;){if(!b.has(d.value))return!1;d=c.next()}return!0}});/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var Ca=Ca||{},B=this||self,Da=function(a,b,c){a=a.split(".");c=c||B;for(var d;a.length&&(d=a.shift());)a.length||b===void 0?c=c[d]&&c[d]!==Object.prototype[d]?c[d]:c[d]={}:c[d]=b},Ea=function(a,b){var c=C("CLOSURE_FLAGS");a=c&&c[a];return a!=null?a:b},C=function(a,b){a=a.split(".");b=b||B;for(var c=0;c2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b,arguments)}},La=function(a,b,c){La=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!= -1?Ja:Ka;return La.apply(null,arguments)},Ma=function(a){return a},Na=function(a,b){function c(){}c.prototype=b.prototype;a.superClass_=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h=0)&&Array.prototype.splice.call(a,b,1);return c}function fb(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;d255&&(b[c++]=e&255,e>>=8);b[c++]=e}a=2;a===void 0&&(a=0);if(!jb)for(jb={},c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),d=["+/=","+/","-_=","-_.","-_"],e=0;e<5;e++){var f=c.concat(d[e].split(""));ib[e]=f;for(var g=0;g>2];k=a[(k&3)<<4|l>>4];l=a[(l&15)<<2|h>>6];h=a[h&63];c[e++]=""+g+k+l+h}g=0;h=d;switch(b.length-f){case 2:g=b[f+1],h=a[(g&15)<<2]||d;case 1:b=b[f],c[e]=""+a[b>>2]+a[(b&3)<<4|g>>4]+h+d}return c.join("")};var lb=typeof Symbol==="function"&&typeof Symbol()==="symbol";function mb(a,b,c){return typeof Symbol==="function"&&typeof Symbol()==="symbol"?(c===void 0?0:c)&&Symbol.for&&a?Symbol.for(a):a!=null?Symbol(a):Symbol():b}var nb=mb("jas",void 0,!0),ob=mb(void 0,Symbol()),pb=mb(void 0,"0ub"),rb=mb(void 0,"0ubs"),sb=mb(void 0,"0actk"),tb=mb("m_m","messagePrototypeMarker",!0),ub=mb();Math.max.apply(Math,la(Object.values({IS_REPEATED_FIELD:1,IS_IMMUTABLE_ARRAY:2,IS_API_FORMATTED:4,ONLY_MUTABLE_VALUES:8,UNFROZEN_SHARED:16,MUTABLE_REFERENCES_ARE_OWNED:32,CONSTRUCTED:64,HAS_MESSAGE_ID:128,FROZEN_ARRAY:256,STRING_FORMATTED:512,GBIGINT_FORMATTED:1024,HAS_WRAPPER:2048,MUTABLE_SUBSTRUCTURES:4096})));var vb={internalArrayState:{value:0,configurable:!0,writable:!0,enumerable:!1}},wb=Object.defineProperties,E=lb?nb:"internalArrayState",xb,yb=[];F(yb,7);xb=Object.freeze(yb); function zb(a,b){lb||E in a||wb(a,vb);a[E]|=b}function F(a,b){lb||E in a||wb(a,vb);a[E]=b};function Ab(){return typeof BigInt==="function"};var Bb={};function Cb(a,b){return b===void 0?a.copyOnWrite!==Db&&!!(2&(a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows[E]|0)):!!(2&b)&&a.copyOnWrite!==Db}var Db={},Eb=Object.freeze({});function Fb(a){return a};function Gb(a){a.isGuard_doNotManuallySetPrettyPlease=!0;return a};var Hb=Gb(function(a){return typeof a==="number"}),Ib=Gb(function(a){return typeof a==="string"}),Jb=Gb(function(a){return typeof a==="boolean"}),Kb=Gb(function(a){return typeof a==="bigint"});var Lb=typeof B.BigInt==="function"&&typeof B.BigInt(0)==="bigint";function G(a){var b=a;if(Ib(b)){if(!/^\s*(?:-?[1-9]\d*|0)?\s*$/.test(b))throw Error(String(b));}else if(Hb(b)&&!Number.isSafeInteger(b))throw Error(String(b));return Lb?BigInt(a):a=Jb(a)?a?"1":"0":Ib(a)?a.trim()||"0":String(a)} var Mb=Gb(function(a){return Lb?Kb(a):Ib(a)&&/^(?:-?[1-9]\d*|0)$/.test(a)}),Sb=Gb(function(a){return Lb?a>=Nb&&a<=Ob:a[0]==="-"?Pb(a,Qb):Pb(a,Rb)}),Qb=Number.MIN_SAFE_INTEGER.toString(),Nb=Lb?BigInt(Number.MIN_SAFE_INTEGER):void 0,Rb=Number.MAX_SAFE_INTEGER.toString(),Ob=Lb?BigInt(Number.MAX_SAFE_INTEGER):void 0;function Pb(a,b){if(a.length>b.length)return!1;if(a.lengthe)return!1;if(d>>0;H=b;I=(a-b)/4294967296>>>0}function Ub(a){if(a<0){Tb(0-a);var b=x(Vb(H,I));a=b.next().value;b=b.next().value;H=a>>>0;I=b>>>0}else Tb(a)}function Wb(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else Ab()?c=""+(BigInt(b)<>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+c*6777216+b*6710656,c+=b*8147497,b*=2,a>=1E7&&(c+=a/1E7>>>0,a%=1E7),c>=1E7&&(b+=c/1E7>>>0,c%=1E7),c=b+Xb(c)+Xb(a));return c} function Xb(a){a=String(a);return"0000000".slice(a.length)+a}function Yb(){var a=H,b=I;b&2147483648?Ab()?a=""+(BigInt(b|0)<>>0)):(b=x(Vb(a,b)),a=b.next().value,b=b.next().value,a="-"+Wb(a,b)):a=Wb(a,b);return a}function Vb(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};function Zb(a,b){a.__closure__error__context__984382||(a.__closure__error__context__984382={});a.__closure__error__context__984382.severity=b};var $b=void 0;function ac(a){a=Error(a);Zb(a,"warning");return a}function bc(a,b){if(a!=null){var c;var d=(c=$b)!=null?c:$b={};c=d[a]||0;c>=b||(d[a]=c+1,a=Error(),Zb(a,"incident"),Ya(a))}};function cc(a){return Array.prototype.slice.call(a)};var dc=typeof BigInt==="function"?BigInt.asIntN:void 0,ec=Number.isSafeInteger,fc=Number.isFinite,hc=Math.trunc;function ic(a){return a.displayName||a.name||"unknown type name"}var jc=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function kc(a){switch(typeof a){case "bigint":return!0;case "number":return fc(a);case "string":return jc.test(a);default:return!1}}function lc(a){if(!fc(a))throw ac("enum");return a|0}function mc(a){return a==null?a:fc(a)?a|0:void 0} function nc(a){if(typeof a!=="number")throw ac("int32");if(!fc(a))throw ac("int32");return a|0} function oc(a){var b=0;b=b===void 0?0:b;if(!kc(a))throw ac("int64");var c=typeof a;switch(b){case 512:switch(c){case "string":return pc(a);case "bigint":return String(dc(64,a));default:return qc(a)}case 1024:switch(c){case "string":return rc(a);case "bigint":return G(dc(64,a));default:return sc(a)}case 0:switch(c){case "string":return pc(a);case "bigint":return G(dc(64,a));default:return tc(a)}default:throw Error("Unknown format requested type for int64");}} function uc(a){var b=a.length;if(a[0]==="-"?b<20||b===20&&a<="-9223372036854775808":b<19||b===19&&a<="9223372036854775807")return a;if(a.length<16)Ub(Number(a));else if(Ab())a=BigInt(a),H=Number(a&BigInt(4294967295))>>>0,I=Number(a>>BigInt(32)&BigInt(4294967295));else{b=+(a[0]==="-");I=H=0;for(var c=a.length,d=0+b,e=(c-b)%6+b;e<=c;d=e,e+=6)d=Number(a.slice(d,e)),I*=1E6,H=H*1E6+d,H>=4294967296&&(I+=Math.trunc(H/4294967296),I>>>=0,H>>>=0);b&&(b=x(Vb(H,I)),a=b.next().value,b=b.next().value,H=a,I=b)}return Yb()} function tc(a){kc(a);a=hc(a);if(!ec(a)){Ub(a);var b=H,c=I;if(a=c&2147483648)b=~b+1>>>0,c=~c>>>0,b==0&&(c=c+1>>>0);var d=c*4294967296+(b>>>0);b=Number.isSafeInteger(d)?d:Wb(b,c);a=typeof b==="number"?a?-b:b:a?"-"+b:b}return a}function qc(a){kc(a);a=hc(a);ec(a)?a=String(a):(Ub(a),a=Yb());return a}function pc(a){kc(a);var b=hc(Number(a));if(ec(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return uc(a)} function rc(a){var b=hc(Number(a));if(ec(b))return G(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return Ab()?G(dc(64,BigInt(a))):G(uc(a))}function sc(a){return ec(a)?G(tc(a)):G(qc(a))}function vc(a){if(typeof a!=="string")throw Error();return a}function wc(a){if(a!=null&&typeof a!=="string")throw Error();return a}function xc(a){return a==null||typeof a==="string"?a:void 0};var yc={reviveIntoImmutable:!0};function zc(a,b,c){var d=d===void 0?!1:d;if(Ma(ub)&&Ma(ob)&&c===ub){c=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;var e=c[ob];if(!e)return;if(e=e.reviveUnknownFields)try{e(c,b,yc);return}catch(f){Ya(f)}}d&&(a=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,(d=Ma(ob))&&d in a&&(a=a[d])&&delete a[b])}function Ac(a,b){var c=Ma(ob),d;lb&&c&&((d=a[c])==null?void 0:d[b])!=null&&bc(pb,3)}function Bc(a,b){b<100||bc(rb,1)};function Cc(a,b,c,d){var e=d!==void 0;d=!!d;var f=Ma(ob),g;!e&&lb&&f&&(g=a[f])&&g.forEachUnknownField(Bc);f=[];var h=a.length;g=4294967295;var k=!1,l=!!(b&64),n=l?b&128?0:-1:void 0;if(!(b&1)){var p=h&&a[h-1];p!=null&&typeof p==="object"&&p.constructor===Object?(h--,g=h):p=void 0;if(l&&!(b&128)&&!e){k=!0;var r;g=((r=Dc)!=null?r:Fb)(g-n,n,a,p,void 0)+n}}b=void 0;for(e=0;e=g){var q=e-n,t=void 0;((t=b)!=null?t:b={})[q]=r}else f[e]=r;if(p)for(var A in p)a= p[A],a!=null&&(a=c(a,d))!=null&&(h=+A,e=void 0,l&&!Number.isNaN(h)&&(e=h+n)=1024)throw Error("pvtlmt");for(var k in h)f= +k,f1024)throw Error("spvt");e=e&-8380417|(k&1023)<<13}}}e|=64;d===0&&(e|=2048);F(a,e);return a}function Gc(){if($a)throw Error("carr");bc(sb,5)};function Hc(a,b){if(typeof a!=="object")return a;if(Array.isArray(a)){var c=a[E]|0;a.length===0&&c&1?a=void 0:c&2||(!b||4096&c||16&c?a=Ic(a,c,!1,b&&!(c&16)):(zb(a,34),c&4&&Object.freeze(a)));return a}if(a!=null&&a[tb]===Bb)return b=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,c=b[E]|0,Cb(a,c)?a:Jc(a,b,c)?Kc(a,b):Ic(b,c)}function Kc(a,b,c){a=new a.constructor(b);c&&(a.copyOnWrite=Db);a.noLegacyNull=Db;return a} function Ic(a,b,c,d){d!=null||(d=!!(34&b));a=Cc(a,b,Hc,d);d=32;c&&(d|=2);b=b&8380609|d;F(a,b);return a}function Lc(a){if(a.copyOnWrite!==Db)return!1;var b=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;b=Ic(b,b[E]|0);zb(b,2048);a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=b;a.copyOnWrite=void 0;a.noLegacyNull=void 0;return!0}function Mc(a){if(!Lc(a)&&Cb(a,a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows[E]|0))throw Error();} function Nc(a,b){b===void 0&&(b=a[E]|0);b&32&&!(b&4096)&&F(a,b|4096)}function Jc(a,b,c){return c&2?!0:c&32&&!(c&4096)?(F(b,c|2),a.copyOnWrite=Db,!0):!1};var Oc=G(0),Pc={},Rc=function(a,b,c,d){Object.isExtensible(a);b=Qc(a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,b,c);if(b!==null||d&&a.noLegacyNull!==Db)return b},Qc=function(a,b,c,d){if(b===-1)return null;var e=b+(c?0:-1),f=a.length-1;if(!(f<1+(c?0:-1))){if(e>=f){var g=a[f];if(g!=null&&typeof g==="object"&&g.constructor===Object){c=g[b];var h=!0}else if(e===f)c=g;else return}else c=a[e];if(d&&c!=null){d=d(c);if(d==null)return d;if(!Object.is(d,c))return h?g[b]=d:a[e]=d,d}return c}},Tc= function(a,b,c){Mc(a);a=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;Sc(a,a[E]|0,b,c)};function Sc(a,b,c,d){var e=c+-1,f=a.length-1;if(f>=0&&e>=f){var g=a[f];if(g!=null&&typeof g==="object"&&g.constructor===Object)return g[c]=d,b}if(e<=f)return a[e]=d,b;if(d!==void 0){var h;f=((h=b)!=null?h:b=a[E]|0)>>13&1023||536870912;c>=f?d!=null&&(e={},a[f+-1]=(e[c]=d,e)):a[e]=d}return b} function Uc(a,b,c,d,e){var f=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,g=f[E]|0;d=Cb(a,g)?1:d;e=!!e||d===3;d===2&&Lc(a)&&(f=a.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,g=f[E]|0);a=Qc(f,b);var h=Array.isArray(a)?a:xb;var k=h===xb?7:h[E]|0;a=k;2&g&&(a|=2);var l=a|1;a=4&l?!1:!0;if(a){4&l&&(h=cc(h),k=0,l=Vc(l,g),g=Sc(f,g,b,h));for(var n=0,p=0;n=a.length)throw Error();return a[c]},ad=function(a){return Uc(a,4,mc,void 0===Eb?2:4)},P=function(a,b,c){if(c!=null&&typeof c!=="boolean")throw Error("Expected boolean but got "+Fa(c)+": "+c);return K(a,b,c,!1)};var Q=function(a,b,c){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a,b,c)};Q.prototype.toJSON=function(){return Fc(this)};var bd=function(a,b){if(b==null||b=="")return new a;b=JSON.parse(b);if(!Array.isArray(b))throw Error("dnarr");zb(b,32);return new a(b)}; Q.prototype.getExtension=function(a){Ac(this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,a.fieldIndex);zc(this,a.fieldIndex,a.lazyParse);return a.ctor?a.isRepeated?a.getExtensionFn(this,a.ctor,a.fieldIndex,void 0===Eb?2:4,a.hasMessageId):a.getExtensionFn(this,a.ctor,a.fieldIndex,a.hasMessageId):a.isRepeated?a.getExtensionFn(this,a.fieldIndex,void 0===Eb?2:4,a.hasMessageId):a.getExtensionFn(this,a.fieldIndex,a.defaultValue,a.hasMessageId)}; Q.prototype.hasExtension=function(a){Ac(this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,a.fieldIndex);zc(this,a.fieldIndex,a.lazyParse);if(a.ctor){var b=this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows;a=Yc(b,b[E]|0,a.ctor,a.fieldIndex,a.hasMessageId)!==void 0}else Ac(this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,a.fieldIndex),zc(this,a.fieldIndex,a.lazyParse),a=a.ctor?a.getExtensionFn(this,a.ctor,a.fieldIndex,a.hasMessageId):a.getExtensionFn(this,a.fieldIndex, null,a.hasMessageId),a=(a===null?void 0:a)!==void 0;return a};Q.prototype.clone=function(){var a=this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows,b=a[E]|0;return Jc(this,a,b)?Kc(this,a,!0):new this.constructor(Ic(a,b,!1))};Q.prototype[tb]=Bb;Q.prototype.toString=function(){return this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows.toString()};function cd(a,b){for(var c in a)b.call(void 0,a[c],c,a)}function dd(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1}var ed="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function fd(a,b){for(var c,d,e=1;e0)d(f);else{a:{if(f&&typeof f.length=="number"){if(Ha(f)){var g=typeof f.item=="function"||typeof f.item=="string";break a}if(typeof f==="function"){g=typeof f.item=="function";break a}}g=!1}cb(g?fb(f):f,d)}}},Ad=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)}, Bd=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},vd=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},ud=function(a){this.document_=a||B.document||document};m=ud.prototype;m.getElementsByTagName=function(a,b){return(b||this.document_).getElementsByTagName(String(a))};m.createElement=function(a){return Ad(this.document_,a)};m.createTextNode=function(a){return this.document_.createTextNode(String(a))};m.getWindow=function(){return this.document_.defaultView}; m.appendChild=function(a,b){a.appendChild(b)};m.append=function(a,b){zd(vd(a),a,arguments)};m.canHaveChildren=function(a){if(a.nodeType!=1)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0}; m.removeNode=Bd;m.contains=function(a,b){if(!a||!b)return!1;if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||!!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};var T=typeof AsyncContext!=="undefined"&&typeof AsyncContext.Snapshot==="function"?function(a){return a&&AsyncContext.Snapshot.wrap(a)}:function(a){return a};var Ed=function(a,b){this.limit_=100;this.create_=a;this.reset_=b;this.occupants_=0;this.head_=null};Ed.prototype.get=function(){if(this.occupants_>0){this.occupants_--;var a=this.head_;this.head_=a.next;a.next=null}else a=this.create_();return a};Ed.prototype.put=function(a){this.reset_(a);this.occupants_1)));g=g.next)e||(f=g);e&&(c.state_==0&&d==1?be(c,b):(f?(d=f,d.next==c.callbackEntriesTail_&&(c.callbackEntriesTail_=d),d.next=d.next.next):ce(c),de(c,e,3,b)))}a.parent_=null}else Rd(a,3,b)},Zd=function(a,b){a.callbackEntries_||a.state_!=2&&a.state_!=3||ee(a);a.callbackEntriesTail_?a.callbackEntriesTail_.next=b:a.callbackEntries_= b;a.callbackEntriesTail_=b},Yd=function(a,b,c,d){var e=Ud(null,null,null);e.child=new U(function(f,g){e.onFulfilled=b?function(h){try{var k=b.call(d,h);f(k)}catch(l){g(l)}}:f;e.onRejected=c?function(h){try{var k=c.call(d,h);k===void 0&&h instanceof ae?g(h):f(k)}catch(l){g(l)}}:g});e.child.parent_=a;Zd(a,e);return e.child};U.prototype.unblockAndFulfill_=function(a){this.state_=0;Rd(this,2,a)};U.prototype.unblockAndReject_=function(a){this.state_=0;Rd(this,3,a)}; var Rd=function(a,b,c){if(a.state_==0){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.state_=1;a:{var d=c,e=a.unblockAndFulfill_,f=a.unblockAndReject_;if(d instanceof U){$d(d,e,f,a);var g=!0}else if(Qd(d))d.then(e,f,a),g=!0;else{if(Ha(d))try{var h=d.then;if(typeof h==="function"){fe(d,h,e,f,a);g=!0;break a}}catch(k){f.call(a,k);g=!0;break a}g=!1}}g||(a.result_=c,a.state_=b,a.parent_=null,ee(a),b!=3||c instanceof ae||ge(a,c))}},fe=function(a,b,c,d,e){var f=!1,g=function(k){f||(f= !0,c.call(e,k))},h=function(k){f||(f=!0,d.call(e,k))};try{b.call(a,g,h)}catch(k){h(k)}},ee=function(a){a.executing_||(a.executing_=!0,Md(a.executeCallbacks_,a))},ce=function(a){var b=null;a.callbackEntries_&&(b=a.callbackEntries_,a.callbackEntries_=b.next,b.next=null);a.callbackEntries_||(a.callbackEntriesTail_=null);return b};U.prototype.executeCallbacks_=function(){for(var a;a=ce(this);)de(this,a,this.state_,this.result_);this.executing_=!1}; var de=function(a,b,c,d){if(c==3&&b.onRejected&&!b.always)for(;a&&a.hadUnhandledRejection_;a=a.parent_)a.hadUnhandledRejection_=!1;if(b.child)b.child.parent_=null,he(b,c,d);else try{b.always?b.onFulfilled.call(b.context):he(b,c,d)}catch(e){ie.call(null,e)}Td.put(b)},he=function(a,b,c){b==2?a.onFulfilled.call(a.context,c):a.onRejected&&a.onRejected.call(a.context,c)},ge=function(a,b){a.hadUnhandledRejection_=!0;Md(function(){a.hadUnhandledRejection_&&ie.call(null,b)})},ie=Ya,ae=function(a){D.call(this, a)};Na(ae,D);ae.prototype.name="cancel";var Wd=function(a,b,c){this.promise=a;this.resolve=b;this.reject=c};/* Copyright 2005, 2007 Bob Ippolito. All Rights Reserved. Copyright The Closure Library Authors. SPDX-License-Identifier: MIT */ var V=function(a,b){this.sequence_=[];this.onCancelFunction_=a;this.defaultScope_=b||null;this.hadError_=this.fired_=!1;this.result_=void 0;this.silentlyCanceled_=this.blocking_=this.blocked_=!1;this.unhandledErrorId_=0;this.parent_=null;this.branches_=0}; V.prototype.cancel=function(a){if(this.fired_)this.result_ instanceof V&&this.result_.cancel();else{if(this.parent_){var b=this.parent_;delete this.parent_;a?b.cancel(a):(b.branches_--,b.branches_<=0&&b.cancel())}this.onCancelFunction_?this.onCancelFunction_.call(this.defaultScope_,this):this.silentlyCanceled_=!0;this.fired_||(a=new je(this),ke(this),le(this,!1,a))}};V.prototype.continue_=function(a,b){this.blocked_=!1;le(this,a,b)}; var le=function(a,b,c){a.fired_=!0;a.result_=c;a.hadError_=!b;me(a)},ke=function(a){if(a.fired_){if(!a.silentlyCanceled_)throw new ne(a);a.silentlyCanceled_=!1}};V.prototype.callback=function(a){ke(this);le(this,!0,a)};V.prototype.addCallback=function(a,b){return oe(this,a,null,b)};V.prototype.finally=function(a){var b=this;return pe(new Promise(function(c,d){oe(b,function(e){a();c(e)},function(e){a();d(e)})}))}; var oe=function(a,b,c,d){var e=a.fired_;e||(b===c?b=c=T(b):(b=T(b),c=T(c)));a.sequence_.push([b,c,d]);e&&me(a);return a};V.prototype.then=function(a,b,c){var d,e,f=new U(function(g,h){e=g;d=h});oe(this,e,function(g){g instanceof je?f.cancel():d(g);return qe},this);return f.then(a,b,c)};V.prototype.$goog_Thenable=!0; var re=function(a){return db(a.sequence_,function(b){return typeof b[1]==="function"})},qe={},me=function(a){if(a.unhandledErrorId_&&a.fired_&&re(a)){var b=a.unhandledErrorId_,c=se[b];c&&(B.clearTimeout(c.id_),delete se[b]);a.unhandledErrorId_=0}a.parent_&&(a.parent_.branches_--,delete a.parent_);b=a.result_;for(var d=c=!1;a.sequence_.length&&!a.blocked_;){var e=a.sequence_.shift(),f=e[0],g=e[1];e=e[2];if(f=a.hadError_?g:f)try{var h=f.call(e||a.defaultScope_,b);h===qe&&(h=void 0);h!==void 0&&(a.hadError_= a.hadError_&&(h==b||h instanceof Error),a.result_=b=h);if(Qd(b)||typeof B.Promise==="function"&&b instanceof B.Promise)d=!0,a.blocked_=!0}catch(k){b=k,a.hadError_=!0,re(a)||(c=!0)}}a.result_=b;d&&(h=La(a.continue_,a,!0),d=La(a.continue_,a,!1),b instanceof V?(oe(b,h,d),b.blocking_=!0):b.then(h,d));c&&(b=new te(b),se[b.id_]=b,a.unhandledErrorId_=b.id_)},pe=function(a){var b=new V;a.then(function(c){b.callback(c)},function(c){ke(b);le(b,!1,c)});return b},ne=function(){D.call(this)};Na(ne,D); ne.prototype.message="Deferred has already fired";ne.prototype.name="AlreadyCalledError";var je=function(){D.call(this)};Na(je,D);je.prototype.message="Deferred was canceled";je.prototype.name="CanceledError";var te=function(a){this.id_=B.setTimeout(La(this.throwError,this),0);this.error_=a};te.prototype.throwError=function(){delete se[this.id_];throw this.error_;};var se={};var ye=function(){var a=Sa("https://apis.google.com/js/client.js"),b={},c=b.document||document,d=Ta(a).toString(),e=(new ud(c)).createElement("SCRIPT"),f={script_:e,timeout_:void 0},g=new V(ue,f),h=null,k=b.timeout!=null?b.timeout:5E3;k>0&&(h=window.setTimeout(function(){ve(e,!0);var l=new we(1,"Timeout reached for loading script "+d);ke(g);le(g,!1,l)},k),f.timeout_=h);e.onload=e.onreadystatechange=function(){e.readyState&&e.readyState!="loaded"&&e.readyState!="complete"||(ve(e,b.cleanupWhenDone|| !1,h),g.callback(null))};e.onerror=function(){ve(e,!0,h);var l=new we(0,"Error while loading script "+d);ke(g);le(g,!1,l)};f=b.attributes||{};fd(f,{type:"text/javascript",charset:"UTF-8"});yd(e,f);sd(e,a);xe(c).appendChild(e);return g},xe=function(a){var b;return(b=(a||document).getElementsByTagName("HEAD"))&&b.length!==0?b[0]:a.documentElement},ue=function(){if(this&&this.script_){var a=this.script_;a&&a.tagName=="SCRIPT"&&ve(a,!0,this.timeout_)}},ve=function(a,b,c){c!=null&&B.clearTimeout(c);a.onload= function(){};a.onerror=function(){};a.onreadystatechange=function(){};b&&window.setTimeout(function(){Bd(a)},0)},we=function(a,b){var c="Jsloader error (code #"+a+")";b&&(c+=": "+b);D.call(this,c);this.code=a};Na(we,D);var ze=function(a){var b=a.serverUrl;var c=a.apiKey;a=a.authUser===void 0?0:a.authUser;this.serverUrl_=b;this.apiKey_=c;this.authUser_=a};ze.prototype.get=function(a,b){return Ae(this,"GET",a,null,b)}; var Ae=function(a,b,c,d,e){var f,g,h,k,l;return ya(function(n){if(n.nextAddress==1)return ra(n,Be(),2);f=C("gapi.client");g=C("gapi.config");h=Ce();k=f.getToken();f.setToken(null);g.update("googleapis.config/auth/useFirstPartyAuth",!0);g.update("googleapis.config/auth/useFirstPartyAuthV2",!0);g.update("client/xd4",!1);g.update("client/cors",!1);g.update("client/apiKey",a.apiKey_);l=f.request({root:a.serverUrl_,path:c,method:b,body:d?JSON.stringify(Fc(d)):void 0,headers:{"Content-Type":"application/json+protobuf", "X-Goog-Api-Key":a.apiKey_,"X-Goog-AuthUser":a.authUser_}}).then(function(p){try{return bd(e,p.body)}catch(r){}});De(h);f.setToken(k);return n.return(l)})},Ce=function(){var a=C("gapi.config"),b={};b["googleapis.config/auth/useFirstPartyAuth"]=a.get("googleapis.config/auth/useFirstPartyAuth");b["googleapis.config/auth/useFirstPartyAuthV2"]=a.get("googleapis.config/auth/useFirstPartyAuthV2");b["client/xd4"]=a.get("client/xd4");b["client/cors"]=a.get("client/cors");b["client/apiKey"]=a.get("client/apiKey"); return b},De=function(a){for(var b=C("gapi.config"),c=x(Object.keys(a)),d=c.next();!d.done;d=c.next())d=d.value,b.update(d,a[d])},Be=function(){return C("gapi.load")?Ee():ye().then(function(){return Ee()},function(a){return Vd("Failed initializing gapi.\nGapi error: "+a)})},Ee=function(){var a=Xd(),b=C("gapi.client");if(b)a.resolve(b);else try{C("gapi.load")("client",{callback:function(){a.resolve(C("gapi.client"))}})}catch(c){a.reject("Failed loading gapi library: client")}return a.promise};var W=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(W,Q);W.prototype.getSeconds=function(){var a=a===void 0?Oc:a;var b=Rc(this,1);var c=typeof b;b=b==null?b:c==="bigint"?G(dc(64,b)):kc(b)?c==="string"?rc(b):sc(b):void 0;return b!=null?b:a};W.prototype.setSeconds=function(a){a=a==null?a:oc(a);return K(this,1,a,"0")};var Fe=function(){var a=(new W).setSeconds((new Date).getTimezoneOffset()*-60);return K(a,2,nc(0),0)};var Ge=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ge,Q);Ge.prototype.getTimezoneOffset=function(){return L(this,W,3)};Ge.prototype.setTimezoneOffset=function(a){return M(this,W,3,a)};var He=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(He,Q);He.prototype.setPlatform=function(a){return K(this,1,a==null?a:lc(a),0)};He.prototype.setSupportedCapabilityList=function(a){return Xc(this,3,a,lc)};He.prototype.setLibraryVersionInt=function(a){return K(this,4,a==null?a:nc(a),0)};var Ie=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ie,Q);Ie.prototype.setDeviceInfo=function(a){return M(this,Ge,1,a)};Ie.prototype.setLibraryInfo=function(a){return M(this,He,2,a)};var Je=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Je,Q);Je.prototype.getAllowedCompletionStyleList=function(){return ad(this)};var Ke=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ke,Q);var Le=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Le,Q);Le.prototype.getPromptDelay=function(){return L(this,Ke,1)};Le.prototype.getAllowedPromptStyleList=function(){return ad(this)};var Me=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Me,Q);Me.prototype.getLanguage=function(){return Zc(this,8)};Me.prototype.getCompletion=function(){return L(this,Je,2)};Me.prototype.getDisplaySettings=function(){return L(this,Le,3)};var Ne=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ne,Q);Ne.prototype.setIsScheduledSurvey=function(a){return P(this,1,a)};var Oe=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Oe,Q);var Pe=function(a){return Zc(a,1)};var Qe=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Qe,Q);m=Qe.prototype;m.setTriggerId=function(a){return K(this,1,wc(a),"")};m.setLanguageList=function(a){return Xc(this,2,a,vc)};m.getLanguage=function(){return $c(this,2)};m.setTestingMode=function(a){return P(this,3,a)};m.getSurveyId=function(){return Zc(this,4)};m.setSurveyId=function(a){Tc(this,4,wc(a))};var Re=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Re,Q);Re.prototype.setTriggerContext=function(a){return M(this,Qe,1,a)};Re.prototype.setClientContext=function(a){return M(this,Ie,2,a)};Re.prototype.setScheduledSurveyContext=function(a){M(this,Ne,3,a)};var Se=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Se,Q);m=Se.prototype;m.getSession=function(){return L(this,Oe,1)};m.getSurveyPayload=function(){return L(this,Me,2)};m.getError=function(a){return $c(this,4,a)};m.getSurveyId=function(){return Zc(this,5)};m.setSurveyId=function(a){K(this,5,wc(a),"")};var Te=function(){this.actions_={}};Te.prototype.register=function(a,b,c){this.actions_[a]={callback:b,isApplicable:c||Od}};Te.prototype.execute=function(a,b){(a=this.actions_[a])&&a.isApplicable()&&a.callback.apply(null,b||[])};Te.prototype.isApplicable=function(a){a=this.actions_[a];return!!a&&a.isApplicable()};Te.prototype.register=Te.prototype.register;var Ue=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ue,Q);var Ve=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ve,Q);Ve.prototype.setDirection=function(a){return K(this,8,wc(a),"")};var We=function(a){return function(b){return bd(a,b)}}(Ve);function Xe(a){if(!a)return null;a=xc(Rc(a,4,void 0,Pc));return a===null||a===void 0?null:Sa(a)};var Ye=y([""]),Ze=y(["https://www.google.com/tools/feedback/help_panel_binary.js"]); function $e(a,b,c,d){var e=a.helpCenterPath.startsWith("/")?a.helpCenterPath.substring(1):a.helpCenterPath,f=c.document,g=a.nonce,h=We(b);h=L(h,Ue,10)?Xe(L(h,Ue,10))||S(Ye):S(Ze);var k=wd(f).createElement("SCRIPT");g&&k.setAttribute("nonce",g);k.onload=function(){c.startHelpCard({apiKey:"",context:a.helpCenterContext,directToGetHelp:!1,enableSendFeedback:!1,helpApiData:{helpApiConfig:a,productWindow:c},helpcenter:e,helpPanelStartTimeMs:a.helpPanelStartTimeMs,helpPanelTheme:a.helpPanelTheme,locale:a.locale, nd4cSettingsIsEnabled:!1,onOpenHelpPanelCallback:d,serverData:b})};sd(k,h);f.body.appendChild(k)};var af=y(["https://www.google.com/tools/feedback/"]),bf=y(["http://localhost.corp.google.com/inapp/"]),cf=y(["http://localhost.proxy.googlers.com/inapp/"]),df=y(["https://asx-frontend-autopush.corp.google.com/inapp/"]),ef=y(["https://asx-frontend-autopush.corp.google.com/tools/feedback/"]),ff=y(["https://asx-frontend-autopush.corp.google.co.uk/inapp/"]),gf=y(["https://asx-frontend-autopush.corp.google.co.uk/tools/feedback/"]),hf=y(["https://asx-frontend-autopush.corp.google.de/inapp/"]),jf=y(["https://asx-frontend-autopush.corp.google.de/tools/feedback/"]), kf=y(["https://asx-frontend-autopush.corp.youtube.com/tools/feedback/"]),lf=y(["https://asx-frontend-autopush.corp.youtube.com/inapp/"]),mf=y(["https://asx-help-frontend-autopush.corp.youtube.com/tools/feedback/"]),nf=y(["https://asx-help-frontend-autopush.corp.youtube.com/inapp/"]),of=y(["https://asx-frontend-staging.corp.google.com/inapp/"]),pf=y(["https://asx-frontend-staging.corp.google.com/tools/feedback/"]),qf=y(["https://support.google.com/inapp/"]),rf=y(["https://sandbox.google.com/inapp/"]), sf=y(["https://sandbox.google.com/tools/feedback/"]),tf=y(["https://www.google.cn/tools/feedback/"]),uf=y(["https://help.youtube.com/tools/feedback/"]),vf=y(["https://asx-frontend-staging.corp.google.com/inapp/"]),wf=y(["https://asx-frontend-staging.corp.google.com/tools/feedback/"]),xf=y(["https://localhost.corp.google.com/inapp/"]),yf=y(["https://localhost.proxy.googlers.com/inapp/"]),zf=S(af),Af=[S(bf),S(cf)],Bf=[S(df),S(ef),S(ff),S(gf),S(hf),S(jf),S(kf),S(lf),S(mf),S(nf)],Cf=[S(of),S(pf)],Df= [zf,S(qf),S(rf),S(sf),S(tf),S(uf),S(vf),S(wf),S(xf),S(yf)];la(Af);la(Bf);la(Cf);la(Df);var Ef=function(){this.disposed_=this.disposed_;this.onDisposeCallbacks_=this.onDisposeCallbacks_};Ef.prototype.disposed_=!1;Ef.prototype.isDisposed=function(){return this.disposed_};Ef.prototype.dispose=function(){this.disposed_||(this.disposed_=!0,this.disposeInternal())};Ef.prototype[Symbol.dispose]=function(){this.dispose()};Ef.prototype.disposeInternal=function(){if(this.onDisposeCallbacks_)for(;this.onDisposeCallbacks_.length;)this.onDisposeCallbacks_.shift()()};var Ff=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.propagationStopped_=!1};Ff.prototype.stopPropagation=function(){this.propagationStopped_=!0};Ff.prototype.preventDefault=function(){this.defaultPrevented=!0};var Gf=function(){if(!B.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};B.addEventListener("test",c,b);B.removeEventListener("test",c,b)}catch(d){}return a}();var Hf=function(a,b){Ff.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.key="";this.charCode=this.keyCode=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.timeStamp=0;this.event_=null;a&&this.init(a,b)};Na(Hf,Ff); Hf.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;b=a.relatedTarget;b||(c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement));this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.offsetX=gb||a.offsetX!==void 0?a.offsetX:a.layerX,this.offsetY= gb||a.offsetY!==void 0?a.offsetY:a.layerY,this.clientX=a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!==void 0?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.key=a.key||"";this.charCode=a.charCode||(c=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=a.pointerType;this.state=a.state;this.timeStamp= a.timeStamp;this.event_=a;a.defaultPrevented&&Hf.superClass_.preventDefault.call(this)};Hf.prototype.stopPropagation=function(){Hf.superClass_.stopPropagation.call(this);this.event_.stopPropagation?this.event_.stopPropagation():this.event_.cancelBubble=!0};Hf.prototype.preventDefault=function(){Hf.superClass_.preventDefault.call(this);var a=this.event_;a.preventDefault?a.preventDefault():a.returnValue=!1};var Mf="closure_listenable_"+(Math.random()*1E6|0);var Nf=0;var Of=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.handler=e;this.key=++Nf;this.removed=this.callOnce=!1},Pf=function(a){a.removed=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};function Qf(a){this.src=a;this.listeners={};this.typeCount_=0}Qf.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.listeners[f];a||(a=this.listeners[f]=[],this.typeCount_++);var g=Rf(a,b,d,e);g>-1?(b=a[g],c||(b.callOnce=!1)):(b=new Of(b,this.src,f,!!d,e),b.callOnce=c,a.push(b));return b}; Qf.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.listeners))return!1;var e=this.listeners[a];b=Rf(e,b,c,d);return b>-1?(Pf(e[b]),Array.prototype.splice.call(e,b,1),e.length==0&&(delete this.listeners[a],this.typeCount_--),!0):!1};var Sf=function(a,b){var c=b.type;c in a.listeners&&eb(a.listeners[c],b)&&(Pf(b),a.listeners[c].length==0&&(delete a.listeners[c],a.typeCount_--))}; Qf.prototype.getListener=function(a,b,c,d){a=this.listeners[a.toString()];var e=-1;a&&(e=Rf(a,b,c,d));return e>-1?a[e]:null};Qf.prototype.hasListener=function(a,b){var c=a!==void 0,d=c?a.toString():"",e=b!==void 0;return dd(this.listeners,function(f){for(var g=0;g>>0),Yf=function(a){if(typeof a==="function")return a;a[fg]||(a[fg]=function(b){return a.handleEvent(b)});return a[fg]};var gg=function(){Ef.call(this);this.eventTargetListeners_=new Qf(this);this.actualEventTarget_=this;this.parentEventTarget_=null};Na(gg,Ef);gg.prototype[Mf]=!0;m=gg.prototype;m.addEventListener=function(a,b,c,d){Xf(this,a,b,c,d)};m.removeEventListener=function(a,b,c,d){dg(this,a,b,c,d)}; m.dispatchEvent=function(a){var b=this.parentEventTarget_;if(b){var c=[];for(var d=1;b;b=b.parentEventTarget_)c.push(b),++d}b=this.actualEventTarget_;d=a.type||a;if(typeof a==="string")a=new Ff(a,b);else if(a instanceof Ff)a.target=a.target||b;else{var e=a;a=new Ff(d,b);fd(a,e)}e=!0;var f;if(c)for(f=c.length-1;!a.propagationStopped_&&f>=0;f--){var g=a.currentTarget=c[f];e=hg(g,d,!0,a)&&e}a.propagationStopped_||(g=a.currentTarget=b,e=hg(g,d,!0,a)&&e,a.propagationStopped_||(e=hg(g,d,!1,a)&&e));if(c)for(f= 0;!a.propagationStopped_&&f=0){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};var X=function(){gg.call(this);this.headers=new Map;this.active_=!1;this.xhr_=null;this.lastUri_="";this.inAbort_=this.inOpen_=this.inSend_=this.errorDispatched_=!1;this.timeoutInterval_=0;this.timeoutId_=null;this.responseType_="";this.progressEventsEnabled_=this.withCredentials_=!1;this.attributionReportingOptions_=this.trustToken_=null};Na(X,gg); var lg=/^https?$/i,mg=["POST","PUT"],ng=[],og=function(a,b,c,d,e,f){var g=new X;ng.push(g);b&&g.listen("complete",b);g.eventTargetListeners_.add("ready",g.cleanupSend_,!0,void 0,void 0);f&&(g.timeoutInterval_=Math.max(0,f));g.withCredentials_=!0;g.send(a,c,d,e)};m=X.prototype;m.cleanupSend_=function(){this.dispose();eb(ng,this)};m.setTrustToken=function(a){this.trustToken_=a};m.setAttributionReporting=function(a){this.attributionReportingOptions_=a}; m.send=function(a,b,c,d){if(this.xhr_)throw Error("[goog.net.XhrIo] Object is active with another request="+this.lastUri_+"; newUri="+a);b=b?b.toUpperCase():"GET";this.lastUri_=a;this.errorDispatched_=!1;this.active_=!0;this.xhr_=new XMLHttpRequest;this.xhr_.onreadystatechange=T(La(this.onReadyStateChange_,this));this.progressEventsEnabled_&&"onprogress"in this.xhr_&&(this.xhr_.onprogress=T(La(function(g){this.onProgressHandler_(g,!0)},this)),this.xhr_.upload&&(this.xhr_.upload.onprogress=T(La(this.onProgressHandler_, this))));try{this.inOpen_=!0,this.xhr_.open(b,String(a),!0),this.inOpen_=!1}catch(g){this.error_(5,g);return}a=c||"";c=new Map(this.headers);if(d)if(Object.getPrototypeOf(d)===Object.prototype)for(var e in d)c.set(e,d[e]);else if(typeof d.keys==="function"&&typeof d.get==="function"){e=x(d.keys());for(var f=e.next();!f.done;f=e.next())f=f.value,c.set(f,d.get(f))}else throw Error("Unknown input type for opt_headers: "+String(d));d=Array.from(c.keys()).find(function(g){return"content-type"==g.toLowerCase()}); e=B.FormData&&a instanceof B.FormData;!(bb(mg,b)>=0)||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");b=x(c);for(d=b.next();!d.done;d=b.next())c=x(d.value),d=c.next().value,c=c.next().value,this.xhr_.setRequestHeader(d,c);this.responseType_&&(this.xhr_.responseType=this.responseType_);"withCredentials"in this.xhr_&&this.xhr_.withCredentials!==this.withCredentials_&&(this.xhr_.withCredentials=this.withCredentials_);if("setTrustToken"in this.xhr_&&this.trustToken_)try{this.xhr_.setTrustToken(this.trustToken_)}catch(g){}if("setAttributionReporting"in this.xhr_&&this.attributionReportingOptions_)try{this.xhr_.setAttributionReporting(this.attributionReportingOptions_)}catch(g){}try{this.timeoutId_&&(clearTimeout(this.timeoutId_),this.timeoutId_=null),this.timeoutInterval_>0&&(this.timeoutId_=setTimeout(this.timeout_.bind(this),this.timeoutInterval_)),this.inSend_=!0,this.xhr_.send(a),this.inSend_=!1}catch(g){this.error_(5,g)}};m.timeout_=function(){typeof Ca!="undefined"&&this.xhr_&&(this.dispatchEvent("timeout"),this.abort(8))}; m.error_=function(){this.active_=!1;this.xhr_&&(this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1);pg(this);qg(this)};var pg=function(a){a.errorDispatched_||(a.errorDispatched_=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};X.prototype.abort=function(){this.xhr_&&this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1,this.dispatchEvent("complete"),this.dispatchEvent("abort"),qg(this))}; X.prototype.disposeInternal=function(){this.xhr_&&(this.active_&&(this.active_=!1,this.inAbort_=!0,this.xhr_.abort(),this.inAbort_=!1),qg(this,!0));X.superClass_.disposeInternal.call(this)};X.prototype.onReadyStateChange_=function(){if(!this.isDisposed())if(this.inOpen_||this.inSend_||this.inAbort_)rg(this);else this.onReadyStateChangeEntryPoint_()};X.prototype.onReadyStateChangeEntryPoint_=function(){rg(this)}; var rg=function(a){if(a.active_&&typeof Ca!="undefined")if(a.inSend_&&sg(a)==4)setTimeout(a.onReadyStateChange_.bind(a),0);else if(a.dispatchEvent("readystatechange"),sg(a)==4){a.active_=!1;try{try{var b=sg(a)>2?a.xhr_.status:-1}catch(g){b=-1}a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}var d;if(!(d=c)){var e;if(e=b===0){var f=String(a.lastUri_).match(jg)[1]||null;!f&&B.self&&B.self.location&&(f=B.self.location.protocol.slice(0,-1));e=!lg.test(f? f.toLowerCase():"")}d=e}d?(a.dispatchEvent("complete"),a.dispatchEvent("success")):pg(a)}finally{qg(a)}}};X.prototype.onProgressHandler_=function(a,b){this.dispatchEvent(tg(a,"progress"));this.dispatchEvent(tg(a,b?"downloadprogress":"uploadprogress"))}; var tg=function(a,b){return{type:b,lengthComputable:a.lengthComputable,loaded:a.loaded,total:a.total}},qg=function(a,b){if(a.xhr_){a.timeoutId_&&(clearTimeout(a.timeoutId_),a.timeoutId_=null);var c=a.xhr_;a.xhr_=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){}}};X.prototype.isActive=function(){return!!this.xhr_}; var sg=function(a){return a.xhr_?a.xhr_.readyState:0},ug=function(a){if(a.xhr_){a=a.xhr_.responseText;a.indexOf(")]}'\n")==0&&(a=a.substring(5));a:{if(B.JSON)try{var b=B.JSON.parse(a);break a}catch(c){}b=ig(a)}return b}};X.prototype.getResponseHeader=function(a){if(this.xhr_&&sg(this)==4)return a=this.xhr_.getResponseHeader(a),a===null?void 0:a};X.prototype.getAllResponseHeaders=function(){return this.xhr_&&sg(this)>=2?this.xhr_.getAllResponseHeaders()||"":""};var vg=y([""]),wg=y(["https://www.google.com/tools/feedback/help_panel_binary.js"]);function xg(a,b,c,d,e,f){return ya(function(g){return g.return(new Promise(function(h){og(""+a+"/repeater_help_panel?locale="+b+"&helpContext="+c+"&productId="+d+"&helpcenter="+e+"&openingMode="+f,function(k){k=k.target;var l=null;try{l=bd(Ve,JSON.stringify(ug(k)))}catch(n){}h(l)})}))})} function yg(a,b,c,d){var e=a.helpCenterPath.startsWith("/")?a.helpCenterPath.substring(1):a.helpCenterPath,f=We(b),g=a.helpPanelMode||0,h=a.fixedHelpPanelContainer,k=a.customHelpPanelContainer;h&&g!==1?h=void 0:g!==1||h&&!N(f,5)||(g=0,h=void 0);k&&g!==2?g=2:g!==2||k&&!a.anchor||(g=0,k=void 0);var l=a.minimizeMode;g!==2||l&&l!==0?g===1&&(l=2):l=2;var n=a.openingMode;if(a.directToGetHelp)n=2;else if(a.supportContentUrl||a.defaultHelpArticleId)n=3;var p=c.document,r=a.nonce,q=L(f,Ue,10)?Xe(L(f,Ue,10))|| S(vg):S(wg),t=C("document.location.href",c);a.helpCenterContext||a.context||!t||(a.context=t.substring(0,1200));t=!0;if(d){var A=JSON.stringify(d);(t=A.length<=1200)&&(a.psdJson=A)}t||(d={invalidPsd:!0});var O=a.helpPanelTheme;a.helpPanelTheme===2&&(O=c.matchMedia&&c.matchMedia("(prefers-color-scheme: dark)").matches?1:0);t=wd(p).createElement("SCRIPT");r&&t.setAttribute("nonce",r);t.onload=function(){c.startHelpPanel({helpcenter:e,apiKey:"testpage",channel:a.channel,context:a.context||a.helpCenterContext|| c.location.href,defaultHelpArticleFragment:a.defaultHelpArticleFragment,defaultHelpArticleId:a.defaultHelpArticleId,defaultHelpArticleHelpcenterPath:a.defaultHelpArticleHelpcenterPath,directToGetHelp:a.directToGetHelp||!1,openToHelpGuideEntryButtonId:a.openToHelpGuideEntryButtonId,enableHelpGuideMaximize:a.enableHelpGuideMaximize,enableHelpGuideConversationalAi:a.enableHelpGuideConversationalAi,enableHelpGuideHumanChat:a.enableHelpGuideHumanChat,internalHelpCenter:Zc(f,12),enableSendFeedback:a.enableSendFeedback|| !1,helpPanelTheme:O,locale:a.locale,nd4cSettingsIsEnabled:a.nd4cSettingsIsEnabled||!1,nd4cSettingsCountryCode:a.nd4cSettingsCountryCode||"",serverData:b,supportContentUrl:a.supportContentUrl,symptom:a.symptom,helpApiData:{helpApiConfig:a,frdProductData:a.frdProductData,productData:d,productWindow:c},helpPanelMode:g,onPromotedProductLinkClickCallback:a.onPromotedProductLinkClickCallback,fixedHelpPanelContainer:h,customHelpPanelContainer:k,openingMode:n,onMinimizeCallback:a.onMinimizeCallback,onGseEventCallback:a.onGseEventCallback, minimizeMode:l||0,helpFlowSessionId:a.helpFlowSessionId||a.supportVisitId,helpGuideHelpCenterEmbedEntryPoint:a.helpGuideHelpCenterEmbedEntryPoint,helpGuideCommonEmbedEntryPoint:a.helpGuideCommonEmbedEntryPoint,helpGuideStartingFlow:a.helpGuideStartingFlow,gseSessionOptions:a.gseSessionOptions,helpPanelStartTimeMs:a.helpPanelStartTimeMs,disableEndUserCredentials:a.disableEndUserCredentials,gsePageUrl:a.gsePageUrl,mendelIds:a.mendelIds,productDeepLinkRegex:a.productDeepLinkRegex,onProductDeepLinkClickCallback:a.onProductDeepLinkClickCallback, supportJourneyId:a.supportJourneyId})};sd(t,q);p.body.appendChild(t)};for(var zg={en:["en-us"],ar:["ar-eg"],zh:["zh-cn","zh-hans","zh-hans-cn"],"zh-tw":["zh-hant","zh-hant-tw"],nl:["nl-nl"],"en-gb":[],fr:["fr-fr"],de:["de-de"],it:["it-it"],ja:["ja-jp"],ko:["ko-kr"],pl:["pl-pl"],pt:["pt-br"],ru:["ru-ru"],es:["es-es"],th:["th-th"],tr:["tr-tr"],"es-419":[],bg:["bg-bg"],ca:["ca-es"],hr:["hr-hr"],cs:["cs-cz"],da:["da-dk"],fil:["fil-ph","tl","tl-ph"],fi:["fi-fi"],el:["el-gr"],iw:["he","he-il","iw-il"],hi:["hi-in"],hu:["hu-hu"],id:["id-id","in","in-id"],lv:["lv-lv"],lt:["lt-lt"], no:["no-no","nb","nb-no"],"pt-pt":[],ro:["ro-ro","mo"],sr:["sr-rs","sr-cyrl-rs"],sk:["sk-sk"],sl:["sl-sl"],sv:["sv-se"],uk:["uk-ua"],vi:["vi-vn"],fa:["fa-ir"],af:["af-za"],bn:["bn-in"],et:["et-ee"],is:["is-is"],ms:["ms-my"],mr:["mr-in"],sw:["sw-tz"],ta:["ta-in"],sq:["sq-al"],hy:["hy-am"],az:["az-az"],my:["my-mm"],ka:["ka-ge"],kk:["kk-kz"],km:["km-kh"],lo:["lo-la"],mk:["mk-mk"],mn:["mn-mn"],ne:["ne-np"],si:["si-lk"],am:["am-et"],gu:["gu-in"],kn:["kn-in"],ml:["ml-in"],te:["te-in"],ur:["ur-pk"],ky:["ky-kg"], pa:["pa-in"],uz:["uz-uz"],"sr-latn":["sh"],"fr-ca":["fr-ca"]},Ag={},Bg=x(Object.keys(zg)),Cg=Bg.next();!Cg.done;Cg=Bg.next()){var Dg=Cg.value;Ag[Dg]=Dg;for(var Eg=x(zg[Dg]),Fg=Eg.next();!Fg.done;Fg=Eg.next())Ag[Fg.value]=Dg};var Gg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Gg,Q);Gg.prototype.getTimezoneOffset=function(){return L(this,W,3)};Gg.prototype.setTimezoneOffset=function(a){return M(this,W,3,a)};var Hg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Hg,Q);Hg.prototype.setPlatform=function(a){return K(this,1,a==null?a:lc(a),0)};Hg.prototype.setSupportedCapabilityList=function(a){return Xc(this,3,a,lc)};Hg.prototype.setLibraryVersionInt=function(a){return K(this,4,a==null?a:nc(a),0)};var Ig=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ig,Q);Ig.prototype.setDeviceInfo=function(a){return M(this,Gg,1,a)};Ig.prototype.setLibraryInfo=function(a){return M(this,Hg,2,a)};var Jg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Jg,Q);Jg.prototype.getAllowedCompletionStyleList=function(){return ad(this)};var Kg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Kg,Q);var Lg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Lg,Q);Lg.prototype.getPromptDelay=function(){return L(this,Kg,1)};Lg.prototype.getAllowedPromptStyleList=function(){return ad(this)};var Mg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Mg,Q);Mg.prototype.getLanguage=function(){return Zc(this,8)};Mg.prototype.getCompletion=function(){return L(this,Jg,2)};Mg.prototype.getDisplaySettings=function(){return L(this,Lg,3)};var Ng=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Ng,Q);Ng.prototype.setIsScheduledSurvey=function(a){return P(this,1,a)};var Og=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Og,Q);var Pg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Pg,Q);var Qg=function(a){return N(a,1)},Rg=function(a){var b=new Pg;return P(b,1,a)};var Sg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Sg,Q);m=Sg.prototype;m.setTriggerId=function(a){return K(this,1,wc(a),"")};m.setLanguageList=function(a){return Xc(this,2,a,vc)};m.getLanguage=function(){return $c(this,2)};m.setTestingMode=function(a){return P(this,3,a)};m.getSurveyId=function(){return Zc(this,4)};m.setSurveyId=function(a){Tc(this,4,wc(a))};var Tg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Tg,Q);var Ug=function(a,b){return K(a,1,wc(b),"")};Tg.prototype.setApiKey=function(a){return K(this,2,wc(a),"")};Tg.prototype.setPlatform=function(a){return K(this,3,a==null?a:lc(a),0)};var Vg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Vg,Q);var Wg=function(a,b){return M(a,Pg,1,b)};var Xg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Xg,Q);Xg.prototype.setTriggerContext=function(a){return M(this,Sg,1,a)};Xg.prototype.setClientContext=function(a){return M(this,Ig,2,a)};Xg.prototype.setScheduledSurveyContext=function(a){M(this,Ng,3,a)};var Yg=function(a){this.internalArrayDoNotAccessOrElseMightBeUndefinedWhoKnows=J(a)};w(Yg,Q);m=Yg.prototype;m.getSession=function(){return L(this,Og,1)};m.getSurveyPayload=function(){return L(this,Mg,2)};m.getError=function(a){return $c(this,4,a)};m.getSurveyId=function(){return Zc(this,5)};m.setSurveyId=function(a){K(this,5,wc(a),"")};var Zg=function(a){if(!a)return"";if(/^about:(?:blank|srcdoc)$/.test(a))return window.origin||"";a.indexOf("blob:")===0&&(a=a.substring(5));a=a.split("#")[0].split("?")[0];a=a.toLowerCase();a.indexOf("//")==0&&(a=window.location.protocol+a);/^[\w\-]*:\/\//.test(a)||(a=window.location.href);var b=a.substring(a.indexOf("://")+3),c=b.indexOf("/");c!=-1&&(b=b.substring(0,c));c=a.substring(0,a.indexOf("://"));if(!c)throw Error("URI is missing protocol: "+a);if(c!=="http"&&c!=="https"&&c!=="chrome-extension"&& c!=="moz-extension"&&c!=="file"&&c!=="android-app"&&c!=="chrome-search"&&c!=="chrome-untrusted"&&c!=="chrome"&&c!=="app"&&c!=="devtools")throw Error("Invalid URI scheme in origin: "+c);a="";var d=b.indexOf(":");if(d!=-1){var e=b.substring(d+1);b=b.substring(0,d);if(c==="http"&&e!=="80"||c==="https"&&e!=="443")a=":"+e}return c+"://"+b+a};function $g(){function a(){e[0]=1732584193;e[1]=4023233417;e[2]=2562383102;e[3]=271733878;e[4]=3285377520;n=l=0}function b(p){for(var r=g,q=0;q<64;q+=4)r[q/4]=p[q]<<24|p[q+1]<<16|p[q+2]<<8|p[q+3];for(q=16;q<80;q++)p=r[q-3]^r[q-8]^r[q-14]^r[q-16],r[q]=(p<<1|p>>>31)&4294967295;p=e[0];var t=e[1],A=e[2],O=e[3],qb=e[4];for(q=0;q<80;q++){if(q<40)if(q<20){var ma=O^t&(A^O);var Ia=1518500249}else ma=t^A^O,Ia=1859775393;else q<60?(ma=t&A|O&(t|A),Ia=2400959708):(ma=t^A^O,Ia=3395469782);ma=((p<<5|p>>>27)&4294967295)+ ma+qb+Ia+r[q]&4294967295;qb=O;O=A;A=(t<<30|t>>>2)&4294967295;t=p;p=ma}e[0]=e[0]+p&4294967295;e[1]=e[1]+t&4294967295;e[2]=e[2]+A&4294967295;e[3]=e[3]+O&4294967295;e[4]=e[4]+qb&4294967295}function c(p,r){if(typeof p==="string"){p=unescape(encodeURIComponent(p));for(var q=[],t=0,A=p.length;t=56;q--)f[q]=r&255,r>>>=8;b(f);for(q=r=0;q<5;q++)for(var t=24;t>=0;t-=8)p[r++]=e[q]>>t&255;return p}for(var e=[],f=[],g=[],h=[128],k=1;k<64;++k)h[k]=0;var l,n;a();return{reset:a,update:c,digest:d,digestString:function(){for(var p=d(),r="",q=0;q=0;b--)this.remove(a[b])};var eh=function(a){a=(a.document_.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f0?(e=Bh(b!=null?b:"")+"/aloha_form_properties?productId="+a,og(e,function(f){f=f.target;var g=null;try{g=bd(kh,JSON.stringify(ug(f)))}catch(h){f=new kh,g=jh(),g=P(g,10,!0),g=P(g,12,!0),g=P(g,13,!1),g=P(g,14,!0),g=P(g,15,!0),g=P(g,20,!1),g=M(f,hh,1,g)}d(g)},"GET","",{},2E3)):e(Error("Invalid product id: "+a))}))})} function Bh(a){return lh(a)?a:"https://www.google.com/tools/feedback"};var Ch=function(a,b,c){a.timeOfStartCall=(new Date).getTime();var d=c||B,e=d.document,f=a.nonce||rd(d.document);f&&!a.nonce&&(a.nonce=f);if(a.flow=="help"){var g=C("document.location.href",d);!a.helpCenterContext&&g&&(a.helpCenterContext=g.substring(0,1200));g=!0;if(b&&JSON&&JSON.stringify){var h=JSON.stringify(b);(g=h.length<=1200)&&(a.psdJson=h)}g||(b={invalidPsd:!0})}b=[a,b,c];d.GOOGLE_FEEDBACK_START_ARGUMENTS=b;c=a.feedbackServerUri||"//www.google.com/tools/feedback";if(g=d.GOOGLE_FEEDBACK_START)g.apply(d, b);else{d=c+"/load.js?";for(var k in a)b=a[k],b==null||Ha(b)||(d+=encodeURIComponent(k)+"="+encodeURIComponent(b)+"&");a=wd(e).createElement("SCRIPT");f&&a.setAttribute("nonce",f);sd(a,Sa(d));e.body.appendChild(a)}},Dh=function(a,b,c,d){var e,f;ya(function(g){e=c||B;var h=a.serverEnvironment==="DEV",k=c||B;k=a.nonce||rd(k.document);h={integrationKeys:{productId:a.productId,feedbackBucket:a.bucket,triggerId:a.triggerId},callbacks:{onClose:a.callback,onLoad:a.onLoadCallback},formContent:{locale:a.locale, disableScreenshot:a.disableScreenshotting,productDisplayName:void 0,announcement:void 0,issueCategories:void 0,includeSeveritySelection:void 0,customImageSrc:void 0,thankYouMessage:void 0,userEmail:void 0,defaultFormInputValues:void 0,defaultFormInputValuesString:void 0,abuseLink:a.abuseLink,additionalDataConsent:a.additionalDataConsent},initializationData:{isLocalServer:h,nonce:k,useNightlyRelease:h,feedbackJsUrl:void 0,feedbackCssUrl:void 0,feedbackJsUrlSerialized:void 0,feedbackCssUrlSerialized:void 0, submissionServerUri:a.feedbackServerUri,colorScheme:a.colorScheme},extraData:{productVersion:a.productVersion,authUser:a.authuser,configuratorId:a.configuratorId,customZIndex:a.customZIndex,tinyNoPointer:a.tinyNoPointer,allowNonLoggedInFeedback:a.allowNonLoggedInFeedback,enableAnonymousFeedback:a.enableAnonymousFeedback}};b&&(k=new Map(Object.entries(b)),h.extraData.productSpecificData=k);f=h;return ra(g,zh(f,d,e),0)})},Eh=function(a,b,c){try{if(a.flow==="help"){var d=a.helpCenterPath.replace(/^\//, "");qd(c||window,"https://support.google.com/"+d)}else a.flow==="submit"?Ch(a,b,c):Ah(a.productId,a.feedbackServerUri).then(function(e){e=L(e,hh,1);var f=!hb||(e==null?void 0:e.getEnableMweb()),g=!a.tinyNoPointer||(e==null?void 0:e.getEnableTinyNoPointer());!e||e.getAlohaAutoGaRollout()&&f&&g?Dh(a,b,c,e):Ch(a,b,c)},function(e){e&&e.name!=="DuplicateFormError"&&Ch(a,b,c)})}catch(e){Dh(a,b,c,null)}};Da("userfeedback.api.startFeedback",Eh);function Fh(a,b){var c=jd(a);if(!Gh.test(c))throw Error("Invalid TrustedResourceUrl format: "+c);a=c.replace(Hh,function(d,e){if(!Object.prototype.hasOwnProperty.call(b,e))throw Error('Found marker, "'+e+'", in format string, "'+c+'", but no valid label mapping found in args: '+JSON.stringify(b));d=b[e];return d instanceof id?jd(d):encodeURIComponent(String(d))});return Sa(a)}var Hh=/%{(\w+)}/g,Gh=RegExp("^((https:)?//[0-9a-z.:[\\]-]+/|/[^/\\\\]|[^:/\\\\%]+/|[^:/\\\\%]*[?#]|about:blank#)","i");var Ih=function(){};Ih.prototype.next=function(){return Jh};var Jh={done:!0,value:void 0};Ih.prototype.__iterator__=function(){return this};var Kh=function(a){if(a instanceof Ih)return a;if(typeof a.__iterator__=="function")return a.__iterator__(!1);if(Ga(a)){var b=0,c=new Ih;c.next=function(){for(;;){if(b>=a.length)return Jh;if(b in a)return{value:a[b++],done:!1};b++}};return c}throw Error("Not implemented");};function Lh(a){this.elements_={};if(a)for(var b=0;b1||f.length==1&&f[0]!="")&&f.pop(),d&&g==e.length&&f.push("")):(f.push(h),d=!0)}d=f.join("/")}else d=e}c?(Y(b),b.path_=d):c=a.queryData_.toString()!=="";c?Vh(b,a.queryData_.clone()):c=!!a.fragment_;c&&(a=a.fragment_,Y(b),b.fragment_=a);return b};Sh.prototype.clone=function(){return new Sh(this)}; var Th=function(a,b,c){Y(a);a.scheme_=c?Wh(b,!0):b;a.scheme_&&(a.scheme_=a.scheme_.replace(/:$/,""));return a},Uh=function(a,b){Y(a);if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("Bad port number "+b);a.port_=b}else a.port_=null},Vh=function(a,b,c){Y(a);b instanceof Xh?(a.queryData_=b,a.queryData_.setIgnoreCase(a.ignoreCase_)):(c||(b=Yh(b,ci)),a.queryData_=new Xh(b,a.ignoreCase_))};Sh.prototype.getQuery=function(){return this.queryData_.toString()}; Sh.prototype.removeParameter=function(a){Y(this);this.queryData_.remove(a);return this};var Y=function(a){if(a.isReadOnly_)throw Error("Tried to modify a read-only Uri");};Sh.prototype.setIgnoreCase=function(a){this.ignoreCase_=a;this.queryData_&&this.queryData_.setIgnoreCase(a)}; var Wh=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Yh=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,di),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},di=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Zh=/[#\/\?@]/g,ai=/[#\?:]/g,$h=/[#\?]/g,ci=/[#\?@]/g,bi=/#/g,Xh=function(a,b){this.count_=this.keyMap_=null;this.encodedQuery_=a||null;this.ignoreCase_=!!b},ei=function(a){a.keyMap_||(a.keyMap_= new Map,a.count_=0,a.encodedQuery_&&kg(a.encodedQuery_,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};m=Xh.prototype;m.add=function(a,b){ei(this);this.encodedQuery_=null;a=fi(this,a);var c=this.keyMap_.get(a);c||this.keyMap_.set(a,c=[]);c.push(b);this.count_+=1;return this};m.remove=function(a){ei(this);a=fi(this,a);return this.keyMap_.has(a)?(this.encodedQuery_=null,this.count_-=this.keyMap_.get(a).length,this.keyMap_.delete(a)):!1}; m.clear=function(){this.keyMap_=this.encodedQuery_=null;this.count_=0};m.isEmpty=function(){ei(this);return this.count_==0};m.containsKey=function(a){ei(this);a=fi(this,a);return this.keyMap_.has(a)};m.forEach=function(a,b){ei(this);this.keyMap_.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)}; m.getKeys=function(){ei(this);for(var a=Array.from(this.keyMap_.values()),b=Array.from(this.keyMap_.keys()),c=[],d=0;d0?String(a[0]):b}; m.toString=function(){if(this.encodedQuery_)return this.encodedQuery_;if(!this.keyMap_)return"";for(var a=[],b=Array.from(this.keyMap_.keys()),c=0;c0&&(this.encodedQuery_=null,this.keyMap_.set(fi(this,d),fb(b)),this.count_+=b.length))},this));this.ignoreCase_=a};Xh.prototype.extend=function(a){for(var b=0;b0?b.preferredSurveyLanguageList:[a.locale_]; h=(new Sg).setTriggerId(b.triggerId).setLanguageList(h).setTestingMode(!!b.enableTestingMode);b.surveyIdForTestingMode!=""&&b.surveyIdForTestingMode!=void 0&&b.enableTestingMode==1&&h.setSurveyId(b.surveyIdForTestingMode);f=(new Xg).setTriggerContext(h).setClientContext((new Ig).setDeviceInfo(f).setLibraryInfo(g));c!=""&&c!=void 0&&c==1&&f.setScheduledSurveyContext((new Ng).setIsScheduledSurvey(c));d=Ae(d,"POST",e,f,Yg)}else d=Zi(a,b,c);return d},function(){return Zi(a,b,c)})},Yi=function(a,b){var c= [],d=Zg(B==null?void 0:B.location.href);var e=[];var f;(f=B.__SAPISID||B.__APISID||B.__3PSAPISID||B.__1PSAPISID||B.__OVERRIDE_SID)?f=!0:(typeof document!=="undefined"&&(f=new dh,f=f.get("SAPISID")||f.get("APISID")||f.get("__Secure-3PAPISID")||f.get("__Secure-1PAPISID")),f=!!f);f&&(f=(d=d.indexOf("https:")==0||d.indexOf("chrome-extension:")==0||d.indexOf("chrome-untrusted://new-tab-page")==0||d.indexOf("moz-extension:")==0)?B.__SAPISID:B.__APISID,f||typeof document==="undefined"||(f=new dh,f=f.get(d? "SAPISID":"APISID")||f.get("__Secure-3PAPISID")),(f=f?bh(f,d?"SAPISIDHASH":"APISIDHASH",c):null)&&e.push(f),d&&((d=fh("__1PSAPISID","__Secure-1PAPISID","SAPISID1PHASH",c))&&e.push(d),(c=fh("__3PSAPISID","__Secure-3PAPISID","SAPISID3PHASH",c))&&e.push(c)));e=e.length==0?null:e.join(" ");b.thirdPartyDomainSupportEnabled!=void 0&&b.thirdPartyDomainSupportEnabled&&(a.thirdPartyDomainSupportEnabled_=!0,e=!1);return e?"v1/survey/trigger":"v1/survey/trigger/trigger_anonymous"},Zi=function(a,b,c){var d=new ze({serverUrl:b.nonProd? "https://test-scone-pa-googleapis.sandbox.google.com":"https://scone-pa.clients6.google.com",apiKey:a.apiKey_,authUser:b.authuser}),e=Yi(a,b),f=Fe();f=(new Ge).setTimezoneOffset(f);var g=(new He).setPlatform(1).setLibraryVersionInt(438217234).setSupportedCapabilityList([1,2]);a=b.preferredSurveyLanguageList&&b.preferredSurveyLanguageList.length>0?b.preferredSurveyLanguageList:[a.locale_];a=(new Qe).setTriggerId(b.triggerId).setLanguageList(a).setTestingMode(!!b.enableTestingMode);b.surveyIdForTestingMode!= ""&&b.surveyIdForTestingMode!=void 0&&b.enableTestingMode==1&&a.setSurveyId(b.surveyIdForTestingMode);b=(new Re).setTriggerContext(a).setClientContext((new Ie).setDeviceInfo(f).setLibraryInfo(g));c!=""&&c!=void 0&&c==1&&b.setScheduledSurveyContext((new Ne).setIsScheduledSurvey(c));return Ae(d,"POST",e,b,Se)},ti=function(a){return typeof a=="string"&&!!a.match(/^[A-Za-z0-9]+$/)},vi=function(a){try{var b=parseInt,c=a.getDisplaySettings().getPromptDelay();var d=L(c,W,1);var e=b(gh(d.getSeconds()),10); isNaN(e)&&(e=0)}catch(k){e=0}try{b=parseInt;var f=a.getDisplaySettings().getPromptDelay();var g=L(f,W,2);var h=b(gh(g.getSeconds()),10);isNaN(h)&&(h=0)}catch(k){h=0}return Math.floor(Math.random()*(h-e+1))+e},yi=function(a,b,c){var d=c.nonProd?"nonprod":"prod",e=c.language&&Ag[c.language.toLowerCase()]?Ag[c.language.toLowerCase()]:Ag[a.locale_.toLowerCase()];e=e&&e.replace("-","_");e==="fa"&&(e="en");var f=e?encodeURI(e):"en";b.enableReloadScriptWhenLanguageChanges&&!$i("https://www.gstatic.com/uservoice/surveys/resources/"+ d+"/js/survey/survey_binary__"+f+".js")&&aj();window.hatsNextGlobalObject?bj(b,c):(e=document.createElement("script"),d=S(li,d,f),sd(e,d),e.type="text/javascript",e.onload=function(){return bj(b,c)},e.onerror=function(){b.listener&&b.listener.surveyPrompted&&b.listener.surveyPrompted(c,{reason:"Failed to load survey binary"})},e.setAttribute("data-survey-binary",""),a.nonce_&&e.setAttribute("nonce",a.nonce_),document.querySelector("[data-survey-binary]")||document.body.appendChild(e))},bj=function(a, b){a:{var c="triggerCutoffTime";a.parentDomElementId!=null&&a.parentDomElementId!=""&&(c+="_"+a.parentDomElementId);if(window.hatsNextGlobalObject&&window.hatsNextGlobalObject[c]){if(window.hatsNextGlobalObject[c]>b.triggerRequestTime){a.listener&&a.listener.surveyPrompted&&a.listener.surveyPrompted(b,{reason:"Survey was triggered before the most recent survey event. Please re-trigger the survey."});c=!1;break a}}else if(ni>b.triggerRequestTime){a.listener&&a.listener.surveyPrompted&&a.listener.surveyPrompted(b, {reason:"Survey must be triggered after initializing the help API."});c=!1;break a}c=Date.now()-b.triggerRequestTime;c>864E5?(a.listener&&a.listener.surveyPrompted&&a.listener.surveyPrompted(b,{reason:"Survey must be triggered within the last 24 hours. Survey was triggered "+(c+" ms ago.")}),c=!1):c=!0}if(c){var d,e,f;window.hatsNextGlobalObject.initSurvey({surveyTriggerResponse:b.surveyData,nonprod:b.nonProd,darkMode:a.colorScheme==2,seamlessMode:a.seamlessMode,zIndex:a.customZIndex,triggerRequestTime:b.triggerRequestTime, authuser:a.authuser,apiKey:b.apiKey,locale:b.language,customLogoAltText:a.customLogoAltText,customLogoUrl:a.customLogoUrl,productData:a.productData,listener:a.listener,surveyData:b,surveyMetadata:b.surveyMetadata,promptStyle:(d=a.promptStyle)!=null?d:1,completionStyle:(e=a.completionStyle)!=null?e:1,defaultStyle:(f=a.defaultStyle)!=null?f:0,parentDomElementId:a.parentDomElementId,persistCompletionCard:a.persistCompletionCard,hidePrivacyBanner:a.hidePrivacyBanner,hideInlineSurveyBorder:a.hideInlineSurveyBorder, hideInlineSurveyBackground:a.hideInlineSurveyBackground,feedback1pEnabled:b.feedback1pEnabled,thirdPartyDomainSupportEnabled:b.thirdPartyDomainSupportEnabled})}},Wi=function(){var a=C("help.globals.actions",top);a||(a=new Te,Da("help.globals.actions",a,top));return a},$i=function(a){return[].concat(la(document.getElementsByTagName("script"))).find(function(b){return b&&b.getAttribute("src")===a})},aj=function(){[].concat(la(document.getElementsByTagName("script"))).forEach(function(a){var b;if(a== null?0:(b=a.getAttribute("src"))==null?0:b.match(pi))a.parentNode.removeChild(a),window.hatsNextGlobalObject=null})},xi=function(){document.querySelectorAll("link[rel=stylesheet]").forEach(function(a){var b;(a==null?0:(b=a.getAttribute("href"))==null?0:b.match(oi))&&a.parentNode.removeChild(a)})},qi=function(a){if(!a)return"";try{return kb(JSON.stringify(Fc(a)))}catch(b){return console.log("Failed to serialize and encode proto: ",b),""}},wi=function(a){return[].concat(la(document.querySelectorAll("link[rel=stylesheet]"))).find(function(b){return b&& b.getAttribute("href")===a})};Z.prototype.isHelpActionApplicable=Z.prototype.isHelpActionApplicable;Z.prototype.executeHelpAction=Z.prototype.executeHelpAction;Z.prototype.registerHelpAction=Z.prototype.registerHelpAction;Z.prototype.scheduleSurvey=Z.prototype.scheduleSurvey;Z.prototype.dismissSurvey=Z.prototype.dismissSurvey;Z.prototype.presentSurvey=Z.prototype.presentSurvey;Z.prototype.requestSurvey=Z.prototype.requestSurvey;Z.prototype.loadChatSupport=Z.prototype.loadChatSupport; Z.prototype.startHelpCard=Z.prototype.startHelpCard;Z.prototype.startHelp=Z.prototype.startHelp;Z.prototype.updateContext=Z.prototype.updateContext;Z.prototype.updateProductData=Z.prototype.updateProductData;Z.prototype.startFeedback=Z.prototype.startFeedback;Da("help.service.Lazy",Z);Da("help.service.Lazy.create",function(a,b){return new Z(a,b)});}).call(this);